package com.itydl.loveview;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.itydl.loveview.view.LoveView;

public class MainActivity extends AppCompatActivity {

    private LoveView mLoveView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mLoveView = (LoveView) findViewById(R.id.loveView);
    }

    public void addLove(View view){
        mLoveView.addLove();
    }
}
